
def inbound_mon_1():
  """ C1. Inbound call DN1 to DN3, release DN1"""
  Ext1DN1.MakeCall(DN3)
  DN3.AnswerCall()
  DN3.ReleaseCall()

def inbound_mon_2():
  """ C2. Inbound call DN1 to DN3, abnormal release DN1"""
  Ext1DN1.MakeCall(DN3)
  Ext1DN1.ReleaseCall()

 
def inbound_mon_12():
  """ C12. Inbound call DN1 to  DN2, two step transfer to DN3, release DN3"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN3.AnswerCall()
  DN2.CompleteTransfer()
  DN3.ReleaseCall()

def inbound_mon_13():
  """ C13. Inbound call DN1 to  DN2, tinit to DN3, abnormal release DN2, rel DN1"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN2.ReleaseCall()
  Ext1DN1.ReleaseCall()

def inbound_mon_14():
  """ C14. Inbound call DN1 to  DN2, tinit to DN3, rel DN1, DN3 ans, DN2 rel"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  Ext1DN1.ReleaseCall()
  DN3.AnswerCall()
  DN2.ReleaseCall()

def inbound_mon_15():
  """ C15. Inbound call DN1 to DN2, two step transfer to DN3, compl bef consul party answer"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN2.CompleteTransfer()
  DN3.AnswerCall()
  Ext1DN1.ReleaseCall()

def inbound_mon_16():
  """ C16. Inbound call, two step transfer to DN3, completed before consul party answer, abnor"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN2.CompleteTransfer()
  Ext1DN1.ReleaseCall()


def inbound_mon_35():
  """ C35. Inbound call DN1 to DN2, Inbound conference to DN3, release DN1, DN2"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateConference(DN3)
  DN3.AnswerCall()
  DN2.CompleteConference()
  Ext1DN1.ReleaseCall()
  DN2.ReleaseCall()

def inbound_mon_36():
  """ C36. Inbound call DN1 to DN2, DN2 cinit conference to DN3, abnorl release DN2, release DN1"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateConference(DN3)
  DN2.ReleaseCall()
  Ext1DN1.ReleaseCall()


